package com.wyb;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;




/**服务提供方
 * <p>User: 
 * <p>Date: 13-12-22
 * <p>Version: 1.0
 */
@Configuration
@ComponentScan
@EnableAutoConfiguration
@EnableEurekaClient
@SpringBootApplication
public class SpringCloudServerApplication {
    public static void main(String[] args) {
       //SpringApplication.run(SpringCloudServerApplication.class,args);
    	new SpringApplicationBuilder(SpringCloudServerApplication.class).web(true).run(args);
    }

}
